$(function() {
    "use strict";



    // LINE CHART
    var line = new Morris.Line({
        element: 'line-chart',
        resize: true,
        data: [
	        {y: '2017-12-03', item1: 80},
	        {y: '2017-12-04', item1: 60},
	        {y: '2017-12-05', item1: 65},
	        {y: '2017-12-06', item1: 73},
	        {y: '2017-12-07', item1: 70},
	        {y: '2017-12-08', item1: 80},
			{y: '2017-12-09', item1: 86},
			{y: '2017-12-10', item1: 90},
			{y: '2017-12-11', item1: 85},
			{y: '2017-12-12', item1: 80},
			{y: '2017-12-13', item1: 60},
			{y: '2017-12-14', item1: 58},
			{y: '2017-12-15', item1: 80},
			{y: '2017-12-16', item1: 70},
			{y: '2017-12-17', item1: 85},
			{y: '2017-12-18', item1: 90},
			{y: '2017-12-19', item1: 83},
			{y: '2017-12-20', item1: 70},
			{y: '2017-12-21', item1: 75},
			{y: '2017-12-22', item1: 71},
			{y: '2017-12-23', item1: 58},
	        {y: '2017-12-24', item1: 61},
	        {y: '2017-12-25', item1: 79},
	        {y: '2017-12-26', item1: 73},
	        {y: '2017-12-27', item1: 68},
	        {y: '2017-12-28', item1: 90},
            {y: '2017-12-29', item1: 47},
            {y: '2017-12-30', item1: 86}
        ],
        xkey: 'y',
        ykeys: ['item1'],
        labels: ['工作时间比率'],
        lineColors: ['#3c8dbc'],
        hideHover: 'auto'
            });

 });